package oop.packaging.different;

import oop.packaging.same.DecorateSymbol;

public class DS_diffPackageDiffClass {
    public static void main(String[] args) {
        DecorateSymbol decorateSymbol = new DecorateSymbol();
        System.out.println(decorateSymbol.name_pub);
        //不同包非子类只能使用public
//        System.out.println(decorateSymbol.name_pro);
//        System.out.println(decorateSymbol.name_def);
//        System.out.println(decorateSymbol.name_pri);
    }
}
